Skip to content

feat(installer): DeepSeek Harness (dsh) as a supported agent - #1572

Open
luolin1024 wants to merge 1 commit into
colbymchenry:mainfrom
luolin1024:feat/dsh-installer
Open

feat(installer): DeepSeek Harness (dsh) as a supported agent#1572
luolin1024 wants to merge 1 commit into
colbymchenry:mainfrom
luolin1024:feat/dsh-installer

Conversation

@luolin1024

Copy link
Copy Markdown

Adds a new installer target so codegraph install can wire the MCP server into the DeepSeek Harness:

  • dsh: writes an - insert: MCP-server entry (via the dsh-mcp-client plugin) into ~/.dsh/cordis.patch.yml — the home-level patch that composes over every profile (web, headless, custom) — and DSH's watchUserPatches hot-swaps it in live via HMR
  • self-heal: install and uninstall both sweep codegraph entries out of any per-profile cordis.patch.yml (migrating one up on install) so the same serverName never mounts twice
  • global-only, like Codex / Hermes: DSH keeps all state under $DSH_HOME (default ~/.dsh) with no project-local config

Detection, install, uninstall, self-heal, idempotency, and --print-config are covered in installer-targets.test.ts.

Adds a new installer target so `codegraph install` can wire the MCP
server into the DeepSeek Harness:

- dsh: writes an `- insert:` MCP-server entry (via the dsh-mcp-client
  plugin) into ~/.dsh/cordis.patch.yml — the home-level patch that
  composes over every profile (web, headless, custom) — and DSH's
  watchUserPatches hot-swaps it in live via HMR
- self-heal: install and uninstall both sweep codegraph entries out of
  any per-profile cordis.patch.yml (migrating one up on install) so the
  same serverName never mounts twice
- global-only, like Codex / Hermes: DSH keeps all state under $DSH_HOME
  (default ~/.dsh) with no project-local config

Detection, install, uninstall, self-heal, idempotency, and
--print-config are covered in installer-targets.test.ts.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
hfldqwe added a commit to hfldqwe/codegraph that referenced this pull request Aug 23, 2026
…tups

Borrowed from colbymchenry#1572 (verified against the dsh-mcp-client schema: `cwd`
is a supported stdio field): the README dsh bullet and the dsh.ts
module doc now explain that the agent passes `projectPath` (per the
server's no-root-index guidance) OR the user can pin `cwd` / `--path`
on the entry for a single-project setup. Also rebased onto main
(includes colbymchenry#1551 project-local Codex, colbymchenry#1463 deprioritize, and the
merged contributor batch).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant